package com.cxso.example.request.check;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


@Getter
@Setter
public class PersonalCheckRequest implements Serializable {


    @Schema(description = "姓名")
    @NotBlank(message = "姓名不能为空")
    private String name;

    @Schema(description = "证件号码")
    @NotBlank(message = "证件号码不能为空")
    private String idCard;

    @Schema(description = "图片地址")
    @NotBlank(message = "图片地址不能为空")
    private String imageUrl;

}
